// stores/example.js
import { defineStore } from 'pinia';

export const useExampleStore = defineStore('example', {
	state: () => ({
		triggerAction: false,
		type: ''
	}),
	actions: {
		triggerActionFromSibling(payled) {
			this.type = payled;
			this.triggerAction = true;
		}
	}
});
